<%-- 
    Document   : Administration
    Created on : Oct 17, 2012, 11:07:30 AM
    Author     : James ASHTON
--%>

<%@ page pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:import url="header.jsp"/>

<div id="header"><div id="visuel"><p>Evaluer les dépôts</p></div></div>
<h3>Liste des Exposés qui vous sont affectés et que vous n'avez pas encore évalué</h3>
<c:choose>
  <c:when test="${!empty exposes}">
      <table class="table">
    <thead>
    <th>Déposant</th>
    <th>Colloque</th>
    <th>Résumé</th>
    <th>Etat</th>
</thead>
<tbody>
    <c:forEach var="expose" items="${exposes}">
        <tr>
            <td>${expose.utilisateur.utilisateurnom} ${expose.utilisateur.utilisateurprenom}</td>
            <td>${expose.colloque.colloquenom}</td>
            <td><a href="EvaluerDepot?expose_id=${expose.exposeid}">${expose.exposeresume}</a></td>
            <td>${expose.exposeetat}</td>
        </tr>
    </c:forEach>
</tbody>
</table>
  </c:when>

  <c:otherwise>
      <h3>Pas d'exposés à évaluer</h3>
  </c:otherwise>
</c:choose>

<c:if test="${!empty param.expose_id}">
    <form class="form-horizontal well" action="EvaluerDepot" method="post">
        <h3><c:out value="${expose_select.exposeresume}"/> - <c:out value="${expose_select.utilisateur.utilisateurnom}"/> <c:out value="${expose_select.utilisateur.utilisateurprenom}"/></h3>
        <div class="control-group">
            <label class="control-label">Pertinence</label>
            <div class="controls">
                <label class="radio inline"><input type="radio" name="Pertinence" id="Pertinence1" value="1">1</label>
                <label class="radio inline"><input type="radio" name="Pertinence" id="Pertinence2" value="2">2</label>
                <label class="radio inline"><input type="radio" name="Pertinence" id="Pertinence3" value="3">3</label>
                <label class="radio inline"><input type="radio" name="Pertinence" id="Pertinence4" value="4">4</label>
                <label class="radio inline"><input type="radio" name="Pertinence" id="Pertinence5" value="5">5</label>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">Importance</label>
            <div class="controls">
                <label class="radio inline"><input type="radio" name="Importance" id="Importance1" value="1">1</label>
                <label class="radio inline"><input type="radio" name="Importance" id="Importance2" value="2">2</label>
                <label class="radio inline"><input type="radio" name="Importance" id="Importance3" value="3">3</label>
                <label class="radio inline"><input type="radio" name="Importance" id="Importance4" value="4">4</label>
                <label class="radio inline"><input type="radio" name="Importance" id="Importance5" value="5">5</label>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">Lisibilité</label>
            <div class="controls">
                <label class="radio inline"><input type="radio" name="Lisibilite" id="Lisibilite1" value="1">1</label>
                <label class="radio inline"><input type="radio" name="Lisibilite" id="Lisibilite2" value="2">2</label>
                <label class="radio inline"><input type="radio" name="Lisibilite" id="Lisibilite3" value="3">3</label>
                <label class="radio inline"><input type="radio" name="Lisibilite" id="Lisibilite4" value="4">4</label>
                <label class="radio inline"><input type="radio" name="Lisibilite" id="Lisibilite5" value="5">5</label>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">Décision finale</label>
            <div class="controls">
                <label class="radio inline"><input type="radio" name="DecisionFinale" id="DecisionFinale1" value="1">1</label>
                <label class="radio inline"><input type="radio" name="DecisionFinale" id="DecisionFinale2" value="2">2</label>
                <label class="radio inline"><input type="radio" name="DecisionFinale" id="DecisionFinale3" value="3">3</label>
                <label class="radio inline"><input type="radio" name="DecisionFinale" id="DecisionFinale4" value="4">4</label>
                <label class="radio inline"><input type="radio" name="DecisionFinale" id="DecisionFinale5" value="5">5</label>
            </div>
        </div>
        <div class="form-actions">
            <input type="hidden" name="expose_id" value="<c:out value="${expose_select.exposeid}"/>">
            <input type="submit" class="btn btn-primary" value="Valider"/>
        </div>
    </form>
</c:if>
<c:import url="footer.jsp"/>